*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    outline: none;
}

body {
    background-image: url(../imgs/home.jpg);
}

.main {
    width: 800px;
    height: 600px;
    margin: 50px auto;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.banner {
    width: 800px;
    height: 600px;
    position: relative;
}

.banner-slide {
    position: absolute;
    display: none;
}

.banner img {
    float: left;
    width: 800px;
    height: 600px;
}

.slide-active {
    display: block;
}

.button {
    position: absolute;
    width: 80px;
    height: 50px;
    opacity: 0.5;
    top: 50%;
    background: url(../icons/arrow.png) no-repeat center center;
    background-size: 60px 60px;
}

.button:hover {
    background-color: #fff;
    opacity: 0.2;
    filter: alpha(opacity=20);
}

.prev {
    left: 40px;
    transform: rotate(90deg);
}

.next {
    right: 40px;
    transform: rotate(-90deg);
}

.dots {
    position: absolute;
    right: 20px;
    bottom: 24px;
    text-align: right;
}

.dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    line-height: 12px;
    border-radius: 50%;
    background: rgba(7,17,27,0.4);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.8) inset;
    margin-left: 8px;
    cursor: pointer;
}

.dots span.active {
    box-shadow: 0 0 0 2px rgba(7,17,27,0.4) inset;
    background: #fff;
}